<!--#
 @version 0.2 (auto-set)
#-->
﻿<!-- Table 'properties' edit -->
<p align=center>
 <a href="?">&lt;&lt;&lt; <#LANG_BACK#></a>
</p>
<table border=0 align=center cellpadding=3>
<form action="?" method="post" enctype="multipart/form-data" name="frmEdit">
[#if OK#]
<tr>
 <td colspan=2 align=center>
  <font color="green"><#LANG_DATA_SAVED#></font>
 </td>
</tr>
[#endif OK#]
[#if ERR#]
<tr>
 <td colspan=2 align=center>
  <font color="red"><#LANG_FILLOUT_REQURED#></font>
 </td>
</tr>
[#endif ERR#]
[#if ID=""#]
<tr>
 <td colspan=2 align=center><b><#LANG_NEW_PROPERTY#></b></td>
</tr>
[#endif ID#]
<!-- CLASS_ID (int) -->
[#if !IS_SET_CLASS_ID#]
<tr>
 <td align=right>
 [#if ERR_CLASS_ID#]<b><font color="red">[#endif#]
 <#LANG_CLASS#>:
 (*)
 </td>
 <td>
  <input type="text" name="class_id" value="[#CLASS_ID#]" size="50">
 </td>
</tr>
[#endif IS_SET_CLASS_ID#]
<!-- TITLE (varchar) -->
<tr>
 <td align=right>
 [#if ERR_TITLE#]<b><font color="red">[#endif#]
 <#LANG_TITLE#>:
 (*)
 </td>
 <td>
  <input type="text" name="title" value="[#TITLE#]">
 </td>
</tr>
<!-- DESCRIPTION (text) -->
<tr>
 <td valign=top align=right>
 [#if ERR_DESCRIPTION#]<b><font color="red">[#endif#]
 <#LANG_DESCRIPTION#>
 :
 </td>
 <td valign=top>
 <textarea name="description" rows=2 cols=100 class="field span8">[#DESCRIPTION#]</textarea>
 </td>
</tr>

<tr>
 <td align=right>
  <#LANG_ONCHANGE_METHOD#> (<#LANG_OPTIONAL#>):
 </td>
 <td>
  <input type="text" name="onchange" value="[#ONCHANGE#]">
 </td>
</tr>


<tr>
 <td align=right>
  <#LANG_KEEP_HISTORY_DAYS#>:
 </td>
 <td>
  <input type="text" name="keep_history" value="[#KEEP_HISTORY#]" size="10"> (0 = <#LANG_DO_NOT_KEEP#>)
 </td>
</tr>
<tr>
 <td colspan=2 align=center>
 [#if ID!=""#]
 <input type="submit" name="subm" value="<#LANG_UPDATE#>">
 [#else ID#]
 <input type="submit" name="subm" value="<#LANG_ADD#>">
 [#endif ID#]
 &nbsp;
 <a href="?"><#LANG_CANCEL#></a>
 </td>
</tr>
<input type="hidden" name="id" value="<#ID#>">
<input type="hidden" name="view_mode" value="<#VIEW_MODE#>">
<input type="hidden" name="edit_mode" value="<#EDIT_MODE#>">
<input type="hidden" name="mode" value="update">
</form>
</table>
